var $ = function(id)
{
    return document.getElementById(id);
}

var writeEmailTag = function(userName, domainName)
{
    var email;
    var atSign = "&#64;"
    email = userName + atSign + domainName;
    document.write( "<a href='mail" + "to:" + email + "'>" + "this link" +"</a>" );
}

var writeCurrentFullYear = function()
{
    var today = new Date();
    document.write(today.getFullYear());
}
